import { PartStatus } from '@/types/Part';

export function getPartStatusColor(status: PartStatus) {
  if (status == PartStatus.None) {
    return 'green';
  } else if (status == PartStatus.RequireMaintenance) {
    return 'red';
  } else {
    return 'yellow';
  }
}
